<?php

ini_set('display_errors', 1);
require_once '/data/wwwroot/g_vendor/autoload.php';

use Biz\service\advertisement\AdApi;

$name = $argv[1] ?? 0;
$uid = $argv[2] ?? 0;

if ($name) {
    $rs = AdApi::debug($name, -1, $uid); // ^ AdApi::PROCESS_FORMAT
    var_dump($rs);
}

